﻿using System.Collections.Generic;

namespace LiftHub.ViewModels.Pages;

public class HomePageModel : PageModelBase
{
    public static List<NavModel> Pages => new()
    {
        new NavModel("Setting", "Setting"),
        new NavModel("Helper", "Help"),
        // new NavModel("Github Repo", "https://www.github.com/amwx/FluentAvalonia"),
        // new NavModel("Avalonia Repo", "https://www.github.com/AvaloniaUI/Avalonia"),
    };

    protected override void Init()
    {
        
    }
}

public class NavModel
{
    public NavModel(string title, string uri)
    {
        Title = title;
        NavigateURI = uri;
        ImageUri = $"avares://LiftHub/Assets/Nav/{title.Replace(" ","")}.png";
    }

    public string Title { get; set; }

    public string ImageUri { get; set; }

    public string NavigateURI { get; set; }
}